package com.cs.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * @Author：bbdf
 * @Package：com.cs.domain
 * @Project：RuoYi-Cloud
 * @name：test
 * @Date：2024-11-11 10:46
 * @Filename：test
 */
public class CSProcurementPlan extends BaseEntity {

    @Serial
    private static final long serialVersionUID = -5940618533294806876L;
    @Excel(name = "采购计划id")
    Integer aId;
    @Excel(name = "采购计划编号")
    String aCode;
    @Excel(name = "采购计划名称")
    String aName;
    @Excel(name = "创建人")
    String createBy;
    @Excel(name = "创建部门")
    Integer deptId;
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date createTime;
    @Excel(name = "审批人")
    String updateBy;
    @Excel(name = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date updateTime;
    @Excel(name = "附件路径")
    String annex;
    @Excel(name = "采购计划审核意见")
    String opinion;
    @Excel(name = "行项目数量")
    Integer projectCount;
    @Excel(name = "采购业务类型")
    Integer typeId;
    @Excel(name = "审批状态")
    Integer astate;
    @Excel(name = "附件名称")
    String fileName;

    @Override
    public String toString() {
        return "CSProcurementPlan{" +
                "aId=" + aId +
                ", aCode='" + aCode + '\'' +
                ", aName='" + aName + '\'' +
                ", createBy='" + createBy + '\'' +
                ", deptId=" + deptId +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", annex='" + annex + '\'' +
                ", opinion='" + opinion + '\'' +
                ", projectCount=" + projectCount +
                ", typeId=" + typeId +
                ", astate=" + astate +
                ", fileName='" + fileName + '\'' +
                '}';
    }

    public CSProcurementPlan() {
    }

    public CSProcurementPlan(Integer aId, String aCode, String aName, String createBy, Integer deptId, Date createTime, String updateBy, Date updateTime, String annex, String opinion, Integer projectCount, Integer typeId, Integer astate, String fileName) {
        this.aId = aId;
        this.aCode = aCode;
        this.aName = aName;
        this.createBy = createBy;
        this.deptId = deptId;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.annex = annex;
        this.opinion = opinion;
        this.projectCount = projectCount;
        this.typeId = typeId;
        this.astate = astate;
        this.fileName = fileName;
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public String getaCode() {
        return aCode;
    }

    public void setaCode(String aCode) {
        this.aCode = aCode;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getUpdateBy() {
        return updateBy;
    }

    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAnnex() {
        return annex;
    }

    public void setAnnex(String annex) {
        this.annex = annex;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Integer getProjectCount() {
        return projectCount;
    }

    public void setProjectCount(Integer projectCount) {
        this.projectCount = projectCount;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getAstate() {
        return astate;
    }

    public void setAstate(Integer astate) {
        this.astate = astate;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}
